<div class="form-group">
  <label for="active" class="col-lg-12 control-label">{{ trans('corebg.active') }}</label>
  <div class="col-lg-12">
      @if($resource['active'])
          <input type="checkbox" id="active" name="active" value="{{ $resource['active'] }}" checked>
      @else
          <input type="checkbox" id="active" name="active" value="{{ $resource['active'] }}" >
      @endif
  </div>
</div>
<div class="form-group">
  <label for="created_at" class="col-lg-12 control-label">{{ trans('corebg.created_at') }}</label>
  <div class="col-lg-12">
      <input type="text" class="form-control" id="created_at" name="created_at" value="{{ $resource['created_at'] }}" readonly>
  </div>
</div>                                                        
<div class="form-group">
  <label for="updated_at" class="col-lg-12 control-label">{{ trans('corebg.updated_at') }}</label>
  <div class="col-lg-12">
      <input type="text" class="form-control" id="updated_at" name="updated_at" value="{{ $resource['updated_at'] }}" readonly>
  </div>
</div>                                                                      